﻿$().ready(function() {
    $("#loginForm").validate({
        rules: {
          tname: "required",
          tpassword: "required"
        },
        messages: {
        	tname: "请输入您的名字",
        	tpassword: "请输入您的密码"
        }
    })
});